package com.ohs.ohsoa.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号,主键")
    @TableId
    @Size(max = 32,message="")
    private String roleGuid;

    @ApiModelProperty(value = "集团下企业主键")
    @Size(max = 32,message="")
    private String groupEnterpriseGuid;

    @ApiModelProperty(value = "角色名称")
    @Size(max = 20,message="")
    private String roleName;

    @ApiModelProperty(value = "删除标志")
    private String deleteFlag;

    @ApiModelProperty(value = "排序")
    private Integer sortFlag;

    @ApiModelProperty(value = "领导标志 1:是 0：不是")
    private String leaderFlag;

    @ApiModelProperty(value = "是否计算加班费 1:是 0：不是")
    private String moneyFlag;
}
